package org.xs.web.http.provider;

public class HTTPHeader {
	private String name,value;
	public HTTPHeader(String name,String value){
		this.name = name;this.value=value;
	}
	
	public static HTTPHeader create(String name,String value){
		if(value == null) value = "";
		return new HTTPHeader(name, value);
	}
	
	public String name(){
		return name;
	}
	
	public String value(){
		return value;
	}
	
}
